<!--
 * @Author: your name
 * @Date: 2022-02-21 18:54:15
 * @LastEditTime: 2022-02-21 19:01:36
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \gitCK\day-4\background.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景</title>
    <style>
        body{
            margin: 0;
        }
        .header{
            background-image: url('./preview.jpg');
            background-repeat: no-repeat;
            background-size: 100% ;
            background-color: rgb(245, 245, 245);
            height: 2000px;
        }
    </style>
</head>
<body>
    <div class="header">
        hello world
    </div>
</body>
</html>